home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / cpu-rs6000.c < prev    next >
C/C++ Source or Header  |  1994-03-15  |  2KB  |  51 lines

  1. /* BFD back-end for rs6000 support
  2.    Copyright (C) 1990, 1991 Free Software Foundation, Inc.
  3.    FIXME: Can someone provide a transliteration of this name into ASCII?
  4.    Using the following chars caused a compiler warning on HIUX (so I replaced
  5.    them with octal escapes), and isn't useful without an understanding of what
  6.    character set it is.
  7.    Written by Mimi Ph\373\364ng-Th\345o V\365 of IBM
  8.    and John Gilmore of Cygnus Support.
  9.  
  10. This file is part of BFD, the Binary File Descriptor library.
  11.  
  12. This program is free software; you can redistribute it and/or modify
  13. it under the terms of the GNU General Public License as published by
  14. the Free Software Foundation; either version 2 of the License, or
  15. (at your option) any later version.
  16.  
  17. This program is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20. GNU General Public License for more details.
  21.  
  22. You should have received a copy of the GNU General Public License
  23. along with this program; if not, write to the Free Software
  24. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  25.  
  26. #include "bfd.h"
  27. #include "sysdep.h"
  28. #include "libbfd.h"
  29.  
  30. static bfd_arch_info_type arch_info_struct = 
  31.   {
  32.     32,    /* 32 bits in a word */
  33.     32,    /* 32 bits in an address */
  34.     8,    /* 8 bits in a byte */
  35.     bfd_arch_rs6000,
  36.     6000,    /* only 1 machine */
  37.     "rs6000",
  38.     "rs6000:6000",
  39.     3,
  40.     true, /* the one and only */
  41.     bfd_default_compatible, 
  42.     bfd_default_scan ,
  43.     0,
  44.   };
  45.  
  46. void
  47. bfd_rs6000_arch ()
  48. {
  49.   bfd_arch_linkin(&arch_info_struct);
  50. }
  51.